@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

:root{
  --primary-color: #00369a;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  background-color: #fff;
  margin: 0 20px;
}

header{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5px 0;
  margin: 0 auto;
  max-width: 800px;
}
main{
  margin: 0 auto;
  max-width: 800px;
}
a{
  color: var(--primary-color);
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
}

h1{
  padding: 5px 0;
  font-size: 1.8rem;
  color: #111;
  text-align: center;
}
.search-bar{
  width:100%;
}
form{
  width: 100%;
}
input[type='search']{
  padding: 10px 20px;
  font-size: 16px;
  border: 5px solid #f0f0f0;
  border-radius: 10px;
  outline: none;
  overflow: none;
  width: 100%;
}
#searchResult{
  margin-top: 1rem;
}
#searchResult article{
  padding: 0;
  margin: 20px 0;
}
#searchResult article h2{
  font-size: 1.1rem;
}
.highlight{
  background-color: #fff6ea;
  font-weight: bold;
  padding: 5px;
  color: red;
}

 
 
.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

